home *** CD-ROM | disk | FTP | other *** search
- This zip file contains the code that goes along with the date article in
- Delphi Magazine. It illustrates a way to correctly portray dates taking into
- account the Calendar Reformation from Julian to Gregorian.
-
- It was done in Delphi 3, though it'll probably work in D2 also, and may
- even work in D1, but I doubt if it will since Integer in D3 is
- automatically a Longint, and the TDateTimePicker is a Win95 animal.
-
-
- CalConstants.pas contains the constants, along with comments from the
- source where I borrowed them.
-
- BaseDate.pas defines TCalendarDef, the base class for handling
- calendars. A descendant of this class, TEnglishCalendar, illustrates
- how to define a specific culture's calendar reformation.
-
- Calendar.pas, only included here as a component, comes from the
- Borland samples palette entry.
-
- ModCal.pas is a copy of Calendar.pas modified to use the encodeing and
- decoding logic in TEnglishCalendar.
-
- TestMain.pas is the only project form and illustrates the various
- conversions and visual calendar layouts.
-
- Brandon C. Smith
- http://synature.com
- synature@synature.com or synat@windo.missouri.org or synature@aol.com
-
-
-